package org.huang.mybatis.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * @描述：ApplicationServer类描述
 * @作者: huanganwei
 * @创建时间: 2018-11-13 00:18:34
 * @版本: 1.0
 */
@SpringBootApplication
@MapperScan("org.huang.mybatis.demo.dao")
public class ApplicationServer {

    private static final Logger logger = LoggerFactory.getLogger(ApplicationServer.class);

    public static void main(String[] args) {
        ApplicationContext ctx = SpringApplication.run(ApplicationServer.class, args);
        logger.info("项目启动!");
    }
}
